import request from '@/utils/request.js'
import axios from 'axios';

export const programmerService = async()=>{
    return request.get('/programmer')
}

// 获取程序员详情
export const getProgrammerDetail = (id) => {
    const tokenStore = useTokenStore()
    return request.get(`/programmer/detail/${id}`, {
        headers: { 'Authorization': tokenStore.token }
    })
}


    
